//
//  NoteDao.h
//  MyNotes
//
//  Created by chen on 17/3/15.
//  Copyright © 2017年 chen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Note.h"
#import "CommonDao.h"
#import "FMDBDao.h"

@interface NoteDao : NSObject
//保存数据列表
@property (strong,nonatomic) NSMutableArray *listData;
+ (NoteDao *)sharedInstance;
- (int)create:(Note *)model;
- (int)remove:(Note *)model;
- (int)modify:(Note *)model;
- (NSMutableArray *)findAll;
- (Note *)findById:(Note *)model;
@end
